<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ include file="/pages/common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript" src="${path }/resources/jquery-1.8.2.js"></script>
<script type="text/javascript" src="${path }/resources/jquery.validate.min.js"></script>
<title>Insert title here</title>
<script type="text/javascript">
$(function(){
	$("#addForm").validate({
		rules:{
			userName:"required",
			password:"required",
			email:"required"
		},
		messages:{
			userName:"请输入用户名",
			password:"请输入密码",
			email:"请输入邮箱"
		}
	});
});

</script>
</head>
<body>
	<form id="addForm" action="/picture_management/register.do" method="post">
		<table>
			<tr>
				<td>用户名：</td>
				<td><input type="text" name="userName"></td>
			</tr>		
			<tr>
				<td>密码：</td>
				<td><input type="text" name="password"></td>
			</tr>		
			<tr>
				<td>邮箱：</td>
				<td><input type="text" name="email"></td>
			</tr>		
			<tr>
				<td><input type="submit"></td>
			</tr>	
		</table>
	</form>
</body>
</html>